// 不要指定object类型，object是个通用类型，指定之后将会访问不到其中的属性
let info: {
    name: string
    age: number
} = {
    name: "why",
    age: 17,
}

console.log(info.name)

const s1: symbol = Symbol("title")
const s2: symbol = Symbol("title")

const person = {
    [s1]: "程序员",
    [s2]: "老师",
}

export {
    
}